package com.android.fastride.model.db.entity;

import java.io.Serializable;
import java.util.List;

public class FastRideMessage {

    /**
     * pageNum : 2
     * pageSize : 5
     * size : 5
     * startRow : 6
     * endRow : 10
     * total : 10
     * pages : 2
     * list : [{"id":6,"title":"测试标题6","thumb":"notices/1491360811_KGDMrHbN_215x185.jpg",
     * "sort":1,"content":"<p>测试内容<\/p>","createdAt":1523547780000,"updatedAt":1523547780000,
     * "createTime":null,"updateTime":null},{"id":7,"title":"测试标题7",
     * "thumb":"notices/1491360811_KGDMrHbN_215x185.jpg","sort":1,"content":"<p>测试内容<\/p>",
     * "createdAt":1523547780000,"updatedAt":1523547780000,"createTime":null,"updateTime":null},
     * {"id":8,"title":"测试标题8","thumb":"notices/1491360811_KGDMrHbN_215x185.jpg","sort":1,
     * "content":"<p>测试内容<\/p>","createdAt":1523547780000,"updatedAt":1523547780000,
     * "createTime":null,"updateTime":null},{"id":9,"title":"测试标题9",
     * "thumb":"notices/1491360811_KGDMrHbN_215x185.jpg","sort":1,"content":"<p>测试内容<\/p>",
     * "createdAt":1523547780000,"updatedAt":1523547780000,"createTime":null,"updateTime":null},
     * {"id":10,"title":"测试标题10","thumb":"notices/1491360811_KGDMrHbN_215x185.jpg","sort":1,
     * "content":"<p>测试内容<\/p>","createdAt":1523547780000,"updatedAt":1523547780000,
     * "createTime":null,"updateTime":null}]
     * prePage : 1
     * nextPage : 0
     * isFirstPage : false
     * isLastPage : true
     * hasPreviousPage : true
     * hasNextPage : false
     * navigatePages : 8
     * navigatepageNums : [1,2]
     * navigateFirstPage : 1
     * navigateLastPage : 2
     * firstPage : 1
     * lastPage : 2
     */

    private int pageNum;
    private int pageSize;
    private int size;
    private int startRow;
    private int endRow;
    private int total;
    private int pages;
    private int prePage;
    private int nextPage;
    private boolean isFirstPage;
    private boolean isLastPage;
    private boolean hasPreviousPage;
    private boolean hasNextPage;
    private int navigatePages;
    private int navigateFirstPage;
    private int navigateLastPage;
    private int firstPage;
    private int lastPage;
    private List<NoticeBean> list;
    private List<Integer> navigatepageNums;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getStartRow() {
        return startRow;
    }

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public int getEndRow() {
        return endRow;
    }

    public void setEndRow(int endRow) {
        this.endRow = endRow;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPrePage() {
        return prePage;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public boolean isIsFirstPage() {
        return isFirstPage;
    }

    public void setIsFirstPage(boolean isFirstPage) {
        this.isFirstPage = isFirstPage;
    }

    public boolean isIsLastPage() {
        return isLastPage;
    }

    public void setIsLastPage(boolean isLastPage) {
        this.isLastPage = isLastPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public int getNavigatePages() {
        return navigatePages;
    }

    public void setNavigatePages(int navigatePages) {
        this.navigatePages = navigatePages;
    }

    public int getNavigateFirstPage() {
        return navigateFirstPage;
    }

    public void setNavigateFirstPage(int navigateFirstPage) {
        this.navigateFirstPage = navigateFirstPage;
    }

    public int getNavigateLastPage() {
        return navigateLastPage;
    }

    public void setNavigateLastPage(int navigateLastPage) {
        this.navigateLastPage = navigateLastPage;
    }

    public int getFirstPage() {
        return firstPage;
    }

    public void setFirstPage(int firstPage) {
        this.firstPage = firstPage;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public List<NoticeBean> getList() {
        return list;
    }

    public void setList(List<NoticeBean> list) {
        this.list = list;
    }

    public List<Integer> getNavigatepageNums() {
        return navigatepageNums;
    }

    public void setNavigatepageNums(List<Integer> navigatepageNums) {
        this.navigatepageNums = navigatepageNums;
    }

    public static class NoticeBean implements Serializable {
        /**
         * id : 6
         * title : 测试标题6
         * thumb : notices/1491360811_KGDMrHbN_215x185.jpg
         * sort : 1
         * content : <p>测试内容</p>
         * createdAt : 1523547780000
         * updatedAt : 1523547780000
         * createTime : null
         * updateTime : null
         */

        private int id;
        private String title;
        private String thumb;
        private int sort;
        private String content;
        private long createdAt;
        private long updatedAt;
        private Object createTime;
        private Object updateTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(long createdAt) {
            this.createdAt = createdAt;
        }

        public long getUpdatedAt() {
            return updatedAt;
        }

        public void setUpdatedAt(long updatedAt) {
            this.updatedAt = updatedAt;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }
    }
}
